package com.hsgene.mq;

import java.io.Serializable;
import java.util.Date;

/**
 * Created with idea
 * User: lvdong
 * Date: 2018/10/29
 * Time: 15:21
 * 退回以及地服重新提交的模型类
 */
public class DcwBackInfo implements Serializable {

    /**
     * 操作人id
     */
    private String operatorId;

    /**
     * 操作人姓名
     */
    private String operator;

    /**
     * 时间
     */
    private Date operationTime;

    private String remark;

    /**
     * 订单id
     */
    private String orderId;
    /**
     * 0： 录入员退回，1:  地服重新提交
     */
    private Integer type;

    public static final Integer BACK = 0;
    public static final Integer SUBMIT = 1;

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public Date getOperationTime() {
        return operationTime;
    }

    public void setOperationTime(Date operationTime) {
        this.operationTime = operationTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    @Override
    public String toString() {
        return "DcwBackInfo{" +
                "operatorId='" + operatorId + '\'' +
                ", operator='" + operator + '\'' +
                ", operationTime=" + operationTime +
                ", remark='" + remark + '\'' +
                ", orderId='" + orderId + '\'' +
                ", type=" + type +
                '}';
    }
}
